		function users() {
			var s = document.getElementById("user").value;
			if (s == "") {
				document.getElementById("userInfo").innerHTML = "不能为空";
				return false;
			} else {
				document.getElementById("userInfo").innerHTML = " ";
				var flag = isRegisterUserName(s);
				if (flag) {
					return true;
				} else {
					document.getElementById("userInfo").innerHTML = "不能这样子填";
					return false;
				}
			}

		}

		function userpasswd() {
			var p = document.getElementById("password").value;
			if (p == "") {
				document.getElementById("userPasswordInfo").innerHTML = "不能为空";
				return false;
			} else {
				document.getElementById("userPasswordInfo").innerHTML = " ";
				var flag = isRegistPassword(p);
				if (flag) {
					return true;
				} else {
					document.getElementById("userPasswordInfo").innerHTML = "不能这样子填";
					return false;
				}
			}
		}

		function useremail() {
			var p = document.getElementById("email").value;
			if (p == "") {
				document.getElementById("useremailInfo").innerHTML = "不能为空";
				return false;
			} else {
				document.getElementById("useremailInfo").innerHTML = "  ";
				var flag = regIsEmail(p);
				if (flag) {
					return true;
				} else {
					document.getElementById("useremailInfo").innerHTML = "不能这样子填";
					return false;
				}
			}
		}

		function userphone() {
			var p = document.getElementById("phone").value;
			if (p == "") {
				document.getElementById("userphoneInfo").innerHTML = "不能为空";
			} else {
				document.getElementById("userphoneInfo").innerHTML = " ";
				var flag = regIsPhone(p);
				if (flag) {

				} else {
					document.getElementById("emailInfo").innerHTML = "不能这样子填";
				}
			}
		}

		function userphoto() {
			var p = document.getElementById("photo").value;
			if (p == "") {
				document.getElementById("userphotoInfo").innerHTML = "不能为空";
			}
			document.getElementById("userphotoInfo").innerHTML = " ";
		}

		function userselfcomm() {
			var p = document.getElementById("selfcomm").value;
			if (p == "") {
				document.getElementById("userselfcommInfo").innerHTML = "不能为空";
			}
		}
		
		function checkSubmit(){
			return users()&&userpasswd()&&useremail();
		}
		